import * as echarts from 'echarts';
type EChartsOption = echarts.EChartsOption;

export default function lineOption2(myChart: echarts.ECharts) {
    return {
        title: {
            text: 'Line Chart2',
            subtext: 'Fake Data',
            left: 'center'
        },
        toolbox: {
            feature: {
                saveAsImage: {}
            }
        },
        xAxis: {
            type: 'category',
            boundaryGap: false,
            data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        },
        yAxis: {
            type: 'value'
        },
        series: [
            {
                data: [820, 932, 901, 934, 1290, 1330, 1320],
                type: 'line',
                areaStyle: {}
            }
        ]
    } as EChartsOption;
}

